//
//  PhotoDetailViewController.h
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/10/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MessageUI/MessageUI.h>

@interface PhotoDetailViewController : UIViewController <ASIHTTPRequestDelegate, UIScrollViewDelegate, MFMailComposeViewControllerDelegate, UIActionSheetDelegate> {
    UIScrollView *photoScrollView;
    UIImageView *authorImageView;
    UILabel *authorNameLabel;
    UILabel *numberLikesLabel;
    UIView *commentsContainerView;
    UIScrollView *imageContainerScrollView;
    BOOL liked;
}

@property (nonatomic, retain) IBOutlet UILabel *authorNameLabel;
@property (nonatomic, retain) IBOutlet UILabel *numberLikesLabel;
@property (nonatomic, retain) IBOutlet UIImageView *authorImageView;
@property (nonatomic, retain) IBOutlet UIScrollView *photoScrollView;
@property (nonatomic, retain) IBOutlet UIScrollView *imageContainerScrollView;
@property (nonatomic, retain) IBOutlet UIView *commentsContainerView;
@property (nonatomic, retain) IBOutletCollection(UIView) NSArray *deviders;
@property (nonatomic, retain) NSMutableDictionary *info;
@property (nonatomic, retain) NSArray *listImagesData;
@property int currentIndexOfImage;

- (IBAction)backButtonPressed:(id)sender;
- (IBAction)likeButtonPressed:(id)sender;
- (IBAction)commentButtonPressed:(id)sender;
- (IBAction)shareButtonPressed:(id)sender;

- (void)showContents;

@end
